package rkdwogus7;

import java.util.Scanner;

public class J09_PracticeEx66 {

	public static void main(String[] args) {
		int value;
		Scanner sc = new Scanner(System.in);
		System.out.println("enter the value");
		value = sc.nextInt();
		
		try {
			if (value < 40) 
				throw new Exception("Value is too small");
		} catch (Exception ex) { 
				System.out.println(ex.getMessage());
		}
		System.out.println("Continue after the catch block");
		
	}

}
